/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package controle.controladores;

/**
 *
 * @author Taeko
 */
class Proporcional extends ControladorAbstrato{

    public Proporcional (double Kp){
        super(Kp,0,0);
        
    }
    
    @Override
    public double valorControle(double erro, double h) {
        return (erro*Kp);
    }
    
}
